﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hotel_System
{
    [Serializable]
    public class Room
    {
        protected static int roomId;//房间号Id
        protected static string number = String.Empty;//房间号
        protected static int typeId;//房间类型ID
        protected static int bedNumber;//床位数
        protected static string description = String.Empty;//房间描述
        protected static string state = String.Empty;//房间状态
        protected static int guestNumber;//入住客人数

        public Room()
        { }

        /// <summary>
        /// 房间号ID
        /// </summary>
        public int RoomID
        {
            get { return roomId; }
            set { roomId = value; }
        }

        /// <summary>
        /// 房间号
        /// </summary>
        public string Number
        {
            get { return number; }
            set { number = value; }
        }

        /// <summary>
        /// 房间类型ID
        /// </summary>
        public int TypeID
        {
            get { return typeId; }
            set { typeId = value; }
        }

        /// <summary>
        /// 床位数
        /// </summary>
        public int BedNumber
        {
            get { return bedNumber; }
            set { bedNumber = value; }
        }

        /// <summary>
        /// 房间描述
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        /// <summary>
        /// 房间状态
        /// </summary>
        public string State
        {
            get { return state; }
            set { state = value; }
        }

        /// <summary>
        /// 入住客人数
        /// </summary>
        public int GuestNumber
        {
            get { return guestNumber; }
            set { guestNumber = value; }
        }
    }
}

